package com.micangcaihang.micang.http.request;

/**
 * <pre>
 *     author : Fandy
 *     e-mail : fandayongfly@gmail.com
 *     time   : 2017/08/04
 *     update : 2017/08/04
 *     desc   : 道路状况请求信息
 *     version: 1.0
 * </pre>
 */

public class TaskWayStatusRequest {
    /**
     * road_name : 朝阳路
     * road_distance : 5
     * road_level : 1
     * metro : 10
     * metro_distance : 15
     * transit : 5
     * transit_distance : 3
     * choose_list : {"road_level1":"环路"}
     */
    private String id;
    private String road_name;//道路名称
    private String road_distance;//直线距离（米）
    private String road_level;//道路等级
    private String metro;//地铁
    private String metro_distance;//步行距离地铁
    private String transit;//公交
    private String transit_distance;//步行距离公交
    private String community_id;

    public String getCommunity_id() {
        return community_id == null ? "0" : community_id;
    }

    public void setCommunity_id(String community_id) {
        this.community_id = community_id;
    }
    public String getId() {
        return id == null ? "" : id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRoad_name() {
        return road_name == null ? "" : road_name;
    }

    public void setRoad_name(String road_name) {
        this.road_name = road_name;
    }

    public String getRoad_distance() {
        return road_distance == null ? "" : road_distance;
    }

    public void setRoad_distance(String road_distance) {
        this.road_distance = road_distance;
    }

    public String getRoad_level() {
        return road_level == null ? "" : road_level;
    }

    public void setRoad_level(String road_level) {
        this.road_level = road_level;
    }

    public String getMetro() {
        return metro == null ? "" : metro;
    }

    public void setMetro(String metro) {
        this.metro = metro;
    }

    public String getMetro_distance() {
        return metro_distance == null ? "" : metro_distance;
    }

    public void setMetro_distance(String metro_distance) {
        this.metro_distance = metro_distance;
    }

    public String getTransit() {
        return transit == null ? "" : transit;
    }

    public void setTransit(String transit) {
        this.transit = transit;
    }

    public String getTransit_distance() {
        return transit_distance == null ? "" : transit_distance;
    }

    public void setTransit_distance(String transit_distance) {
        this.transit_distance = transit_distance;
    }

    @Override
    public String toString() {
        return "TaskWayStatusRequest{" +
                "id='" + id + '\'' +
                ", road_name='" + road_name + '\'' +
                ", road_distance='" + road_distance + '\'' +
                ", road_level='" + road_level + '\'' +
                ", metro='" + metro + '\'' +
                ", metro_distance='" + metro_distance + '\'' +
                ", transit='" + transit + '\'' +
                ", transit_distance='" + transit_distance + '\'' +
                ", community_id='" + community_id + '\'' +
                '}';
    }
}
